//
//  BN_PersonModifyModel.m
//  BabyNow
//
//  Created by 刘泽琛 on 14-6-19.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import "BN_PersonModifyModel.h"

static BN_PersonModifyModel *sharedModel = nil;

@implementation BN_PersonModifyModel

+ (BN_PersonModifyModel *)sharedModifyModel {
    @synchronized(self){
        if(sharedModel == nil){
            sharedModel = [[self alloc] init];
        }
    }
    return sharedModel;
}

+ (id)allocWithZone:(NSZone *)zone
{
    @synchronized (self) {
        if (sharedModel == nil) {
            sharedModel = [super allocWithZone:zone];
            return sharedModel;
        }
    }
    return nil;
}

- (id)copyWithZone:(NSZone *)zone
{
    return self;
}

- (id)init
{
    @synchronized(self) {
        if (self = [super init]) {
            // code...
        }
    }
    return self;
}

- (void)getPersonInfo:(NSString *)nickName
       biyeSchoolName:(NSString *)biyeSchoolName
            xueLiName:(NSString *)xueLiName
             telPName:(NSString *)telPName
             signName:(NSString *)signName
         babyBirtName:(NSString *)babyBirtName {
    self.nickName = nickName;
    self.biyeSchoolName = biyeSchoolName;
    self.xueLiName = xueLiName;
    self.telPName = telPName;
    self.signName = signName;
    self.babyBirtName = babyBirtName;
}
@end
